﻿using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;


namespace CustomsDocumentOA.Project.CusDocument
{
    //*********************************************
    //
    //数据表（CDOA_ShareRecords）：分享记录表
    //
    //作者：陈辉平
    //
    //日期（CreateDate）：2021-03-16
    //
    //*********************************************
    [Table("CDOA_ShareRecords")]
     public class CDOA_ShareRecords: Entity<long>, IHasCreationTime, ICreationAudited
    {
        /// <summary>
        /// 创建时间，接口IHasCreationTime
        /// </summary>
        public DateTime CreationTime { get; set; }
        /// <summary>
        /// 创建人，接口ICreationAudited
        /// </summary>
        public long? CreatorUserId { get; set; }
        /// <summary>
        /// 客户ID
        /// </summary>
        [Required]
        public int cCustomerID { get; set; }
        /// <summary>
        /// 分享人
        /// </summary>
        [MaxLength(100)]
        public string cUserName { get; set; }
        /// <summary>
        /// 分享密码
        /// </summary>
        [MaxLength(20)]
        public string cSharePassWord { get; set; }
        /// <summary>
        /// 过期时间
        /// </summary>
        public DateTime? cExpirationTime { get; set; }
        /// <summary>
        /// 过期时间：单位（min）
        /// </summary>
        public int cExpirationDay { get; set; }

    }
}
